package com.indusfo.spc.mapper;

import com.indusfo.spc.pojo.PlanBom;
import org.apache.ibatis.annotations.Param;

import java.util.List;
/**
 * @Author 熊冰
 * @Date 2019/11/8 14:57
 * 任务单流程关键物料
 */
public interface PlanBomMapper {
    //增加
    int insertPlanBom(PlanBom planBom);
    //更新
    int updatePlanBom(PlanBom planBom);
    //查询
    List<PlanBom> queryPlanBom(PlanBom planBom);
    //总数
    int countPlanBom(PlanBom planBom);
    //判重
    int checkPlanBom(PlanBom planBom);
    //删除
    int deletePlanBom(@Param("planBomIds") List<Integer> planBomIds, @Param("dataState") Integer dataState);

}